package day15;

public class TestAbstract1 {
    public static void main(String[] args){
        Animal aa = new Cat();
        System.out.println(aa.getClass().getName());
    }
}

abstract class Animal{
    public Animal(){
        System.out.println("Animal");
    }
}
class Cat extends Animal{
    public Cat(){
        super();
    }
}
